package cn.fjsay.java.demo1;

import java.util.List;

public class QueryDbTestJDBC {
    public static void main(String[] args) {
        PersonDAO personDAO=new PersnDAOImpal();
        List<Person> personList=personDAO.getPersonList();
        for (Person per:personList){
            System.out.println(per);
            System.out.println("查询成功");
        }
    }
}
